# -*- coding: utf-8 -*-
"""
Created on Fri Sep  3 16:32:36 2021

@author: 刘长奇-2019300677
"""
for i in range(1,10):
    for j in range(1,10):
        if j<=i:
            print(i,'*',j,'=',i*j,end=' ')
        else:
            print('\n')
            break
        
